package com.yuanchu.goods.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yuanchu.goods.entity.YoshopUploadFileEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 商品详情
 * @date: 2024-01-23 13:01
 */
@Data
public class QueryGoodsDetails implements Serializable {
    @JsonProperty("goods_id")
    private int goodsId;
    @JsonProperty("goods_name")
    private String goodsName;
    @JsonProperty("goods_no")
    private String goodsNo;
    @JsonProperty("video_id")
    private int videoId;
    @JsonProperty("video_cover_id")
    private int videoCoverId;
    @JsonProperty("selling_point")
    private String sellingPoint;
    @JsonProperty("spec_type")
    private int specType;
    @JsonProperty("goods_price_min")
    private String goodsPriceMin;
    @JsonProperty("goods_price_max")
    private String goodsPriceMax;
    @JsonProperty("line_price_min")
    private String linePriceMin;
    @JsonProperty("line_price_max")
    private String linePriceMax;
    @JsonProperty("stock_total")
    private int stockTotal;
    @JsonProperty("deduct_stock_type")
    private int deductStockType;
    private String content;
    @JsonProperty("sales_initial")
    private int salesInitial;
    @JsonProperty("sales_actual")
    private int salesActual;
    @JsonProperty("delivery_id")
    private int deliveryId;
    @JsonProperty("is_points_gift")
    private int isPointsGift;
    @JsonProperty("is_points_discount")
    private int isPointsDiscount;
    @JsonProperty("is_alone_points_discount")
    private int isAlonePointsDiscount;
    @JsonProperty("points_discount_config")
    private String pointsDiscountConfig;
    @JsonProperty("is_enable_grade")
    private int isEnableGrade;
    @JsonProperty("is_alone_grade")
    private int isAloneGrade;
    @JsonProperty("alone_grade_equity")
    private List<String> aloneGradeEquity;
    private int status;
    private int sort;
    @JsonProperty("is_delete")
    private int isDelete;
    @JsonProperty("store_id")
    private int storeId;
    @JsonProperty("goods_image")
    private String goodsImage;
    @JsonProperty("create_time")
    private String createTime;
    @JsonProperty("update_time")
    private String updateTime;
    @JsonProperty("goods_images")
    private List<YoshopUploadFileEntity> goodsImages;
    @JsonProperty("goods_sales")
    private int goodsSales;
    private List<Integer> categoryIds;
    private List<SpecData.SpecList> specList;
    private List<Integer> serviceIds;
    private boolean isSpecLocked;
    private List<SpecData.SkuList> skuList;
    private YoshopUploadFileEntity video;
    private YoshopUploadFileEntity videoCover;

}
